﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;

namespace EFMagic.Schema
{
    [Serializable]
    public class EFMSchema
    {
        public string Name { get; set; }
        public int Version { get; set; }

        public IDictionary<Guid,EFMTable> Tables { get; set; }

        public IDictionary<string,EFMView> Views { get; set; }

        public EFMSchema()
        {
            Tables = new Dictionary<Guid, EFMTable>();
            Views = new Dictionary<string, EFMView>();
        }
    }
}
